package com.caiheng.api.dao.examine;

import com.caiheng.api.dao.BaseDao;
import com.caiheng.api.entity.examine.ExamineApproveRegRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 审批申请记录Mapper接口
 *
 * @author ruoyi
 * @date 2022-11-23
 */
public interface ExamineApproveRegRecordMapper extends BaseDao<ExamineApproveRegRecord> {

    /**
     *  审批列表
     * @param map
     * @param offset
     * @param pageSize
     * @return
     */
    List<ExamineApproveRegRecord> getAdminHandleList(@Param("map") Map<String,Object> map, @Param("offset") int offset, @Param("pageSize") int pageSize);

    /**
     *  抄送列表
     * @param map
     * @param offset
     * @param pageSize
     * @return
     */
    List<ExamineApproveRegRecord> getAdminCopyList(@Param("map") Map<String,Object> map, @Param("offset") int offset, @Param("pageSize") int pageSize);


    int getAdminHandleCount(@Param("map") Map<String,Object> map);
}
